<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<sx:head/>
<base href="<%=basePath%>">

</head>

<body>
	
		<s:if test="%{result==1}">
		<center>
		   <span><s:property value="%{#session.tempAcc.accessoryname}"/>上传成功</span></center>
		</s:if>
		<s:else>
		  
		   <%-- <s:file name="file"></s:file>
		   <s:submit value="上传" name="action:file_uploadFile"></s:submit> --%>
		 <center>  <form action="<%=basePath%>/file/file_uploadFile" method="post" enctype="multipart/form-data">
		       <s:file name="file"></s:file>
		       <s:submit value="上传"></s:submit>
		   </form></center>
		</s:else>
	
</body>
</html>
